The ABox class provides a pair of methods to get and set various characteristics or properties of the ABox. These properties allow you, the application programmer, to specify the root of the topic/slide folder tree, if the ABox should be modal, moveable modal, or modeless, if it should behave as a splash screen that waits for a click, shows for a brief time then vanishes, or vanishes under application control (useful for initialization time), etc. The methods you use to alter these properties are, appropriately named, GetProperty and SetProperty, and are shown below as prototypes:
OSErr ABox::GetProperty (ABProperty prop, void *ptr, long *ptrSize);
OSErr ABox::SetProperty (ABProperty prop, void *ptr, long ptrSize);
The list of properties is provided in the ABox.h file; the code fragment below is an example of how to setup some of the various properties of the ABox [ the code has been reformatted to fit into the ABox more easily so you can read it better; really, the actual code is much neater, I promise ;^) ]:
Remember: this is just an example. You should check out the example program "ABoxText" and its source for a real world example of how to implement the ABox.